home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / sqrt.z / sqrt
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  84 lines

  1. SQRT(3I)                                              Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      SSQQRRTT, DDSSQQRRTT, QQSSQQRRTT, CCSSQQRRTT, CCDDSSQQRRTT, CCQQSSQQRRTT - Computes square root
  6.  
  7. SSYYNNOOPPSSIISS
  8.      SSQQRRTT (([XX==]_x))
  9.      DDSSQQRRTT (([XX==]_x))
  10.      QQSSQQRRTT (([XX==]_x))
  11.      CCSSQQRRTT (([XX==]_x))
  12.      CCDDSSQQRRTT (([XX==]_x))
  13.      CCQQSSQQRRTT (([XX==]_x))
  14.  
  15. IIMMPPLLEEMMEENNTTAATTIIOONN
  16.      UNICOS, UNICOS/mk, IRIX systems
  17.  
  18.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  19.  
  20. SSTTAANNDDAARRDDSS
  21.      Fortran
  22.  
  23.      Fortran extensions:  QQSSQQRRTT, CCDDSSQQRRTT, CCQQSSQQRRTT
  24.  
  25. DDEESSCCRRIIPPTTIIOONN
  26.      The SSQQRRTT, DDSSQQRRTT, QQSSQQRRTT, CCSSQQRRTT, CCDDSSQQRRTT, and CCQQSSQQRRTT intrinsic functions
  27.      compute the square root of their arguments.
  28.                                    1/2
  29.      These functions evaluate _y = _x   .
  30.  
  31.      SSQQRRTT is the generic function name; the others are specifics.  These
  32.      are elemental intrinsic functions.  They accept the following
  33.      argument:
  34.  
  35.      _x         Must be of type real or complex.  If _i is of type real, it
  36.                must be greater than or equal to zero.
  37.  
  38.      Vector versions of these intrinsics exist on some systems.  Vector
  39.      versions of the SSQQRRTT, DDSSQQRRTT, CCSSQQRRTT, and CCDDSSQQRRTT intrinsics exist on
  40.      UNICOS and UNICOS/mk systems.  On UNICOS/mk systems, the vector
  41.      versions of these intrinsics are used when --OO vveeccttoorr33 or --OO33 are
  42.      specified on the compiler command line.  A vector version of the
  43.      single-precision and double-precision SSQQRRTT intrinsic exists on IRIX
  44.      systems and is used when --OO33 is specified on the compiler command
  45.      line.
  46.  
  47. NNOOTTEESS
  48.      The SSQQRRTT, DDSSQQRRTT, and CCSSQQRRTT intrinsic function names can be passed as
  49.      arguments; the others cannot.
  50.  
  51.      On CRAY T90 systems that support IEEE arithmetic, the following return
  52.      values occur:
  53.  
  54.           SSQQRRTT((0)) = 0
  55.  
  56.           SSQQRRTT((-0)) = -0
  57.  
  58.           SSQQRRTT((_x)) = NaN if _x < 0
  59.  
  60.           SSQQRRTT((NaN)) = NaN
  61.  
  62.           SSQQRRTT((infinity)) == iinnffiinniittyy
  63.  
  64. RREETTUURRNN VVAALLUUEESS
  65.      SSQQRRTT returns the real square root of its real argument.
  66.  
  67.      DDSSQQRRTT returns the double-precision square root of its double-precision
  68.      argument.
  69.  
  70.      QQSSQQRRTT returns the quad-precision square root of its quad-precision
  71.      argument.
  72.  
  73.      CCSSQQRRTT returns the complex square root of its complex argument.
  74.  
  75.      CCDDSSQQRRTT returns the double-precision complex square root of its
  76.      double-precision complex argument.
  77.  
  78.      CCQQSSQQRRTT returns the double-precision complex square root of its
  79.      quad-precision complex argument.
  80.  
  81. SSEEEE AALLSSOO
  82.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  83.      man page.
  84.